#ifndef __SPI_H__
#define __SPI_H__
#include "stm32f10x.h"
void SPI2_Init(void);

u8 SPI_WriteByte(SPI_TypeDef* SPIx,u8 Byte);
#define SPI_ReadByte(SPIx)	SPI_WriteByte(SPIx,0xff)


#endif
